package com.example.webmodule.event;

import lombok.Data;
import org.springframework.cloud.bus.event.RemoteApplicationEvent;

/**
 * @ClassName EY-OrderEvent
 * @Description com.example.webmodule.event
 * @Author menyj
 * @Date 2025/4/10
 **/
@Data
public class OrderEvent extends RemoteApplicationEvent {
    private String message;

    public OrderEvent() {
        super();
    }
    public OrderEvent(Object source, String message, String originService) {
        super(source, originService);
        this.message = message;
    }
}
